package com.tutu.service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * CompanyBalanceService
 */
public interface CompanyBalanceService {

    // 查询（分页）
    Map<String, Object> pageByParams(Integer companyId, String keyWord, Integer page, Integer limit);

    Map<String, Object> pageDataByParams(Integer companyBalanceId, Integer page, Integer limit);

    // 添加 or 修改
    Map<String, Object> saveInfo(HttpServletRequest request, Integer id, Integer companyId, Integer codeDictType, String codeDictName, double count);

    Map<String, Object> batchAdd(HttpServletRequest request, Integer deviceId, String emissionCodes, String values);

    // 删除
    Map<String, Object> deleteById(HttpServletRequest request, Integer id);

    // 批量删除
    Map<String, Object> batchDel(HttpServletRequest request, String ids);

    Map<String, Object> companyBalanceStatic(HttpServletRequest request);

    Map<String, Object> findBalanceListByCompanyId(Integer companyId);

    Map<String, Object> saveChildInfo(HttpServletRequest request, Integer id, Integer status);
}
